From: delphi@media-lab.media.mit.edu (Andrew J. Kass)
Subject: anyone used macrecorder or built-in mic on PB?
Date: 30 Apr 92 20:53:45 GMT
Organization: M.I.T. Media Laboratory
We are having a problem using the MacRecorder on a PB170. When trying to record with SoundEdit 2.0.5 and MacRecorder driver 1.0.2, after clicking the record button, there is no way to stop recording until the time allocated is up. Cmd-opt-esc doesn't even work (which means that keyboard interrupts are disabled for some reason). In addition, when we try recording sound using our own software, the sounds are garbled and have clicks in them.
We are using the MacRecorder because using the built in driver causes the system to hang sometimes when calling SetUpAIFFHeader. Anyone ever heard of that?
Please respond by email. Thanks
Andrew Kass
Speech Research Group
MIT Media Laboratory
delphi@media-lab.media.mit.edu
+++++++++++++++++++++++++++
From: jmunkki@hila.hut.fi (Juri Munkki)
Organization: Helsinki University of Technology, Finland
Date: Fri, 1 May 1992 19:24:46 GMT
In article <1992Apr30.205345.2624@news.media.mit.edu> delphi@media-lab.media.mit.edu (Andrew J. Kass) writes:
>We are having a problem using the MacRecorder on a PB170. When trying
>to record with SoundEdit 2.0.5 and MacRecorder driver 1.0.2, after
>clicking the record button, there is no way to stop recording until the
>time allocated is up. Cmd-opt-esc doesn't even
>work (which means that keyboard interrupts are disabled for some
>reason). In addition, when we try recording sound using our own
>software, the sounds are garbled and have clicks in them.
The MacRecorder and compatible devices use the serial port for
reading the A/D converted. This means that the CPU has to read
about 176k bps, which is pretty close to LocalTalk speeds. To
read the serial port at that speed, the computer has to stay in
a tight loop with interrupts disabled. So the CPU is just polling
the sound hardware in a busy loop.
I don't have the MacRecorder driver, so I have just been assuming
that it doesn't support asynchronous sound input, because the
interrupt frequency would be incredible and eat up all the CPU
and it still might not work. So, can comeone confirm my guess
that the MacRecorder driver doesn't work asynchronously?
The garbledness and clicks might be because the driver misses
a few samples now and then. It could also indicate a problem
with your software.
The built-in sound input hardware is a totally different beast.
It seems to use a 512 byte in the sound chip. This means that
the CPU only has to process those 512 samples 44 timer per second.
This leaves plenty of time for handling other things.
>We are using the MacRecorder because using the built in driver causes
>the system to hang sometimes when calling SetUpAIFFHeader. Anyone ever
>heard of that?
I haven't used SetUpAIFFHeader. In fact, my program doesn't keep the
sound data around, since it analyzes it in the sound interupt routine.
They must have tested SetUpAIFFHeader and some programs must be using
it, so rather than trying to make the brain-dead MacRecorder work, I
would try to figure out what goes wrong with the internal sound
From: delphi@media-lab.media.mit.edu (Andrew J. Kass)
Date: 3 May 92 02:00:24 GMT
Organization: M.I.T. Media Laboratory
In article <1992May1.192446.29738@nntp.hut.fi>, jmunkki@hila.hut.fi (Juri Munkki) writes:
|> In article <1992Apr30.205345.2624@news.media.mit.edu> delphi@media-lab.media.mit.edu (Andrew J. Kass) writes:
|> >We are having a problem using the MacRecorder on a PB170. When trying
|> >to record with SoundEdit 2.0.5 and MacRecorder driver 1.0.2, after
|> >clicking the record button, there is no way to stop recording until the
|> >time allocated is up. Cmd-opt-esc doesn't even
|> >work (which means that keyboard interrupts are disabled for some
|> >reason). In addition, when we try recording sound using our own
|> >software, the sounds are garbled and have clicks in them.
|>
|> The MacRecorder and compatible devices use the serial port for
|> reading the A/D converted. This means that the CPU has to read
|> about 176k bps, which is pretty close to LocalTalk speeds. To
|> read the serial port at that speed, the computer has to stay in
|> a tight loop with interrupts disabled. So the CPU is just polling
|> the sound hardware in a busy loop.
Well, this is not true. First of all, the MacRecorder has a 192 byte internal buffer, and secondly, the i/o is buffered. Not to mention that as far as CPU speeds go, 176 bits per sec is EXTREMELY slow... besides, if you try recording with soundedit on anything other than a PowerBook, it works fine (click the mouse any time after you begin recording to stop it). Interrupts are not normally disabled. A 25Mhz processor looks at 176 khz and laughs...
|>
|> I don't have the MacRecorder driver, so I have just been assuming
|> that it doesn't support asynchronous sound input, because the
|> interrupt frequency would be incredible and eat up all the CPU
|> and it still might not work. So, can comeone confirm my guess
|> that the MacRecorder driver doesn't work asynchronously?
The MacRecorder driver itself is not asynchronous. However, the normal macintosh toolbox calls are. Besides, SoundEdit doesn't even work through the drivers I think.. it goes for the serial port or sound chip directly...
|>
|> The garbledness and clicks might be because the driver misses
|> a few samples now and then. It could also indicate a problem
|> with your software.
I have heard of PBs dropping data at speeds over 9600 baud, but this type of distortion doesn't sound like that.
|>
|> The built-in sound input hardware is a totally different beast.
|> It seems to use a 512 byte in the sound chip. This means that
|> the CPU only has to process those 512 samples 44 timer per second.
|> This leaves plenty of time for handling other things.
|>
|> >We are using the MacRecorder because using the built in driver causes
|> >the system to hang sometimes when calling SetUpAIFFHeader. Anyone ever
|> >heard of that?
|>
|> I haven't used SetUpAIFFHeader. In fact, my program doesn't keep the
|> sound data around, since it analyzes it in the sound interupt routine.
|>
|> They must have tested SetUpAIFFHeader and some programs must be using
|> it, so rather than trying to make the brain-dead MacRecorder work, I
|> would try to figure out what goes wrong with the internal sound
|> driver.
|>
We already sent a letter to Apple DTS telling them about the problem, along with a small segment of code that demonstrates the problem. I was just wondering if anyone else has seen or heard of anything like this. Believe me, we have no desire or intention of continuing to use the MacRecorder... we just can't use the built in if SetUpAIFF fails...
Just for info you can buy Appmakers for an educational price of $149.
Call Bowers Development at (508)369-8175 for details. I think the average mail
order price is $214 and the retail is $295. I faxed them a purcahse oryMder and they shipped it the same day overnight mail. Haven't looked at it yet so
I can't give you any impressions of the product. All the reviews I saw said
it was the best one to get though.
- -Terry
---------------------------
From: rpizzi@Bonnie.ICS.UCI.EDU (Bob Pizzi)
Subject: MacinTalk and Voice Synthesis (a missing piece)
Date: 1 May 92 04:40:02 GMT
..(cross posted in *.mac.system)..
In terms of Apple supporting system software across machines, they do a good
job (IMHO), however, MacinTalk is not one of them.
According to my latest copy of APDA, Macintalk development package is
a Class 3 restricted product. As I interpret that, Apple does not want
*us* developing any apps that use the Macintalk interface. Is that *your*
interpretation as well?
If, then Apple does not want MacinTalk perpetuated, is there a third
party voice synthesis driver (MPW interface to it would be nice) that
can be licenced??
I am writing up a proposal for development of an app for use with
the visually impaired, and voice has been requested. I am reluctant
to use MacinTalk, and I am looking for alternatives.
Apple is almost ready to release (read wait a while) the.... long awaited TTS manager!! This is a replacement for MacinTalk. The problem was, Apple needed something fast for text to speech when the mac first came out. So they licensed this thing called MacinTalk from another company. The problem was, they licensed the binaries, not the code. So it could never be updated. Its a miracle it still even works! Apple has been working on its own version for quite a while. It sounds better than Macintalk, bu
quite as good as.. say a DecTalk. But it has that ability to speak different languages and use different voices. It's actually a very nice product.